package com.CST.entity.ys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author qtx
 * @since 2023-04-20
 */
@Getter
@Setter
@TableName("YS_ETL_ACCOUNT")
public class YsEtlAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId("ID")
    private Integer id;

    @ApiModelProperty(value = "操作时间")
    @TableField("OPER_DTIME")
    private LocalDateTime operDtime;

    @ApiModelProperty(value = "凭证号")
    @TableField("ACCOUNT_NUM")
    private String accountNum;

    @ApiModelProperty(value = "科目编码")
    @TableField("ACCOUNT_CODE")
    private String accountCode;

    @ApiModelProperty(value = "科目名称")
    @TableField("ACCOUNT_NAME")
    private String accountName;

    @ApiModelProperty(value = "部门编码")
    @TableField("DEPT_CODE")
    private String deptCode;

    @ApiModelProperty(value = "部门名称")
    @TableField("DEPT_NAME")
    private String deptName;

    @ApiModelProperty(value = "摘要")
    @TableField("DESCRIPTION")
    private String description;

    @ApiModelProperty(value = "收入金额")
    @TableField("MC")
    private BigDecimal mc;

    @ApiModelProperty(value = "支出金额")
    @TableField("MD")
    private BigDecimal md;

    @ApiModelProperty(value = "院区 1：三香  2：浒关")
    @TableField("YARD")
    private Integer yard;

    @ApiModelProperty(value = "采集时间")
    @TableField("ETL_TIME")
    private LocalDateTime etlTime;

    @ApiModelProperty(value = "项目编码")
    @TableField("TYPE")
    private String type;

    @ApiModelProperty(value = "时间")
    @TableField("PERIOD")
    private int period;
}
